package at.guigu.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;

/**
 * 获取Servlet的相关API
 */
@Controller
@RequestMapping("/user4")
public class UserControllerFour {
    @ResponseBody
    @RequestMapping("/quick1")
    public void save1(HttpServletRequest req, HttpServletResponse res, HttpSession hs) throws Exception{
        System.out.println(req);
        System.out.println(res);
        System.out.println(hs);
    }
}
